<template>
    <button @click="add(1,$event)">点我2</button>
   </template>
   
   <script setup>
       const add = (number, event) => {
            console.log(number)
           console.log(event, '===event===')
           console.log('add')
       }
   </script>
   
   <style>
   
   </style>